<template>
    <div class="loading" v-if="loading">
        <img src="http://oss.softlinkonline.cn/appimages/sign_loading.gif" alt="">
    </div>
</template>

<script>
    export default {
        props:{
            loading:Boolean
        }
    }

</script>

<style lang="less" scoped>
    .loading{
        text-align: center;
        padding: 200px 0;
        width: 100%;
        img{
            width: 100px;
            height: 100px;
        }
    }
</style>
